import request from '../utils/request'

// 获取系统公告内容
export function noticeContent (params) {
  return request({
    url: 'v1_0/announcements/:target',
    method: 'GET',
    params: params
  })
}

// 获取系统公告列表
export function noticeList (params) {
  return request({
    url: ' v1_0/announcements',
    method: 'GET',
    params: params
  })
}
